import {
	request
} from "./request.js"

//获取openId
function getOpenId(option) {
	return request({
		url: '/user/login',
		method: 'POST',
		data: option
	})
}

//登录
function directLogin(option) {
	return request({
		url: '/synergy/login',
		method: 'POST',
		data: option
	})
}



export {
	getOpenId,
	directLogin
}